<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>组件2</title>
</head>
<body>
    <div id="app">
      <panda :here="message"></panda>
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <script>
    let app = new Vue({
          el:"#app",
          data: {
              message: "四川"
          },
          methods: {
              
          },
          components:{
              "panda":{
                  template:`<div style="green">Panda From {{ here }}</div>`,
                  props:["here"]
              }
          }

    })
    </script>
</body>
</html>